import { Injectable, Injector } from "@angular/core";
import { NzMessageService } from 'ng-zorro-antd/message';
@Injectable({
    providedIn: 'root'
  })

  export class BaseServices{
    constructor(public injector: Injector) {}

    // get http(): _HttpClient {
    //   return this.injector.get(_HttpClient);
    // }

    get msgSrv(): NzMessageService {
        return this.injector.get(NzMessageService);
    }
  }